:root {
  --cp-yellow: #fbb140;
  --cp-red: #ee3f36;
  --cp-ink: #151515;
  --cp-muted: #6f7480;
  --cp-line: #eceff3;
  --cp-soft: #f7f8fb;
  --cp-panel: #ffffff;
  --cp-shadow: 0 18px 45px rgba(20, 24, 40, 0.06);
}

html[data-cp-mode="dark"] {
  --cp-ink: #f7f8fb;
  --cp-muted: #aeb6c4;
  --cp-line: rgba(255, 255, 255, 0.1);
  --cp-soft: #191d24;
  --cp-panel: rgba(25, 28, 35, 0.88);
  --cp-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  color-scheme: dark;
}

.cp-svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.cp-icon,
.cp-menu-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.18em;
}

.cp-icon-xs {
  width: 16px;
  height: 16px;
  stroke-width: 1.8;
}

.cp-icon-sm {
  width: 18px;
  height: 18px;
  stroke-width: 1.75;
}

.cp-icon-lg {
  width: 28px;
  height: 28px;
  stroke-width: 1.55;
}

.cp-icon-xl {
  width: 44px;
  height: 44px;
  stroke-width: 1.35;
}

.cp-icon-stack {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--cp-red);
  vertical-align: middle;
}

.cp-icon-stack .cp-icon:first-child {
  width: 30px;
  height: 30px;
  opacity: 0.12;
  fill: currentColor;
}

.cp-icon-stack .cp-icon + .cp-icon {
  width: 16px;
  height: 16px;
  position: absolute;
  inset: 9px;
}

.cp-icon-stack-xs {
  width: 24px;
  height: 24px;
}

.cp-icon-stack-xs .cp-icon:first-child {
  width: 22px;
  height: 22px;
}

.cp-icon-stack-xs .cp-icon + .cp-icon {
  width: 12px;
  height: 12px;
  inset: 6px;
}

.cp-alert-icon {
  width: 72px;
  height: 72px;
  color: var(--cp-red);
  stroke-width: 1.35;
}

.cp-menu-icon {
  width: 18px;
  height: 18px;
  stroke-width: 1.55;
}

.cp-storage-spinner,
.cp-spinner {
  display: inline-block;
  border: 2px solid rgba(238, 63, 54, 0.18);
  border-top-color: var(--cp-red);
  border-radius: 999px;
  animation: cp-spin 800ms linear infinite;
}

.cp-storage-spinner {
  width: 24px;
  height: 24px;
}

.cp-spinner {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: -3px;
}

.cp-spinner-lg {
  width: 34px;
  height: 34px;
  margin-right: 0;
  border-width: 3px;
}

.cp-auth-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 6px;
  color: var(--cp-red);
  vertical-align: -4px;
}

.cp-auth-lock::before {
  content: "";
  display: block;
  width: 14px;
  height: 10px;
  margin: 6px 2px 0;
  border: 2px solid currentColor;
  border-radius: 3px;
  box-sizing: border-box;
}

.cp-auth-lock::after {
  content: "";
  position: relative;
  display: block;
  width: 8px;
  height: 8px;
  margin: -16px 5px 0;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.cp-auth-mail::before {
  content: "";
  display: block;
  width: 18px;
  height: 13px;
  margin-top: 3px;
  border: 2px solid currentColor;
  border-radius: 3px;
  box-sizing: border-box;
}

.cp-auth-mail::after {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  margin: -13px 3px 0;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

@keyframes cp-spin {
  to {
    transform: rotate(360deg);
  }
}

html,
body {
  min-height: 100%;
  background: #fff;
  color: var(--cp-ink);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

a {
  color: var(--cp-red);
}

a:hover,
a:focus {
  color: #c92620;
}

#wrapper {
  min-height: 100vh;
  background: #fff;
}

.navbar-static-side {
  position: fixed;
  width: 288px;
  min-height: 100vh;
  height: 100vh;
  padding: 28px 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.86)),
    radial-gradient(circle at 10% 90%, rgba(251, 177, 64, 0.08), transparent 28%);
  border-right: 1px solid rgba(232, 236, 242, 0.9);
  box-shadow: 12px 0 42px rgba(25, 30, 42, 0.04);
  backdrop-filter: blur(18px);
  z-index: 2001;
  overflow-y: auto;
}

body.mini-navbar .navbar-static-side {
  width: 80px;
}

#page-wrapper {
  min-height: 100vh;
  margin-left: 288px;
  padding: 0 32px 34px;
  background:
    linear-gradient(120deg, rgba(238, 63, 54, .055), transparent 28%), linear-gradient(300deg, rgba(251, 177, 64, .07), transparent 32%), #f8f9fb
}

body.mini-navbar #page-wrapper {
  margin-left: 80px;
}

.nav-header {
  height: 76px;
  min-height: 76px;
  padding: 0 8px 18px;
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid var(--cp-line);
}

.nav-header .profile-element,
.nav-header .profile-element>span,
.nav-header .profile-element a {
  display: flex;
  align-items: center;
}

.nav-header #logomenu,
.nav-header img {
  width: 188px;
  max-height: 64px;
  object-fit: contain;
}

.logo-element {
  color: var(--cp-red);
  font-weight: 800;
  letter-spacing: 0;
}

#side-menu {
  min-height: calc(100vh - 56px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 0;
}

#side-menu>li:hover {
  background: transparent !important;
}

#side-menu>li {
  margin: 0;
  border-left: 0 !important;
  background: transparent;
}

#side-menu>li>a {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  color: #23252a;
  font-size: 14px;
  font-weight: 560;
  letter-spacing: 0;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

#side-menu>li.cp-nav-dashboard.active:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--cp-red), #ff4d2f);
  background-color: var(--cp-red) !important;
  box-shadow: 0 14px 30px rgba(238, 63, 54, 0.2);
  border-radius: 14px;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

#side-menu>li.cp-nav-dashboard.active>a {
  color: #fff;
  background: linear-gradient(135deg, var(--cp-red), #ff4d2f);
  background-color: var(--cp-red) !important;
  box-shadow: 0 14px 30px rgba(238, 63, 54, 0.2);
}

#side-menu>li.mm-active:not(.cp-nav-dashboard)>a,
#side-menu>li.active:not(.cp-nav-dashboard)>a,
#side-menu>li>a:hover,
#side-menu>li>a:focus {
  color: #252932;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  transform: translateX(3px);
  text-decoration: none;
}

#side-menu>li.cp-nav-dashboard.active>a:hover,
#side-menu>li.cp-nav-dashboard.active>a:focus {
  color: #fff;
  background: linear-gradient(135deg, var(--cp-red), #ff4d2f) !important;
  background-color: var(--cp-red) !important;
  box-shadow: 0 14px 30px rgba(238, 63, 54, 0.2) !important;
}

#side-menu>li.active,
#side-menu>li.active2 {
  border-left: 0 !important;
}

#side-menu>li>a .nav-label {
  flex: 1 1 auto;
}

.cp-menu-arrow {
  margin-left: auto;
  color: currentColor;
  opacity: 0.62;
  transform: rotate(0deg);
  transition: transform 180ms ease;
}

#side-menu>li.mm-active>a .cp-menu-arrow {
  transform: rotate(90deg);
}

#side-menu .nav-second-level {
  padding: 7px 0 9px 45px;
  background: transparent;
}

#side-menu .nav-second-level li a {
  padding: 8px 12px;
  color: var(--cp-muted);
  font-size: 13px;
  font-weight: 500;
  border-radius: 10px;
}

#side-menu .nav-second-level li a:hover {
  color: var(--cp-red);
  background: rgba(238, 63, 54, 0.07);
}

.breadcrumb {
  background: transparent;
}

.cp-nav-brand {
  order: 0;
}

.cp-nav-dashboard {
  order: 1;
}

.cp-nav-files {
  order: 2;
}

.cp-nav-websites {
  order: 3;
}

.cp-nav-email {
  order: 4;
}

.cp-nav-databases {
  order: 5;
}

.cp-nav-security {
  order: 6;
}

.cp-nav-apps {
  order: 7;
}

.cp-nav-tools {
  order: 8;
}

.cp-nav-script-installers {
  display: none !important;
}

.cp-capacity-heading,
.cp-version-heading {
  display: none !important;
}

.cp-capacity-item {
  order: 30;
  margin-top: 28px !important;
}

.cp-version-item {
  order: 40;
  margin-top: auto !important;
  padding-top: 32px;
}

#side-menu .menugrande .ibox {
  margin: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.cp-side-card {
  position: relative;
  overflow: hidden;
  padding: 18px !important;
  border: 1px solid rgba(238, 63, 54, 0.13);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(238, 63, 54, 0.08), rgba(251, 177, 64, 0.08)),
    #fff;
}

.cp-side-card::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cp-red), var(--cp-yellow), var(--cp-red));
  background-size: 200% 100%;
  animation: cp-rail 4s linear infinite;
}

.cp-side-card h3 {
  margin: 0 0 14px;
  color: #7b4140;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.mini-stat {
  display: grid;
  gap: 8px;
  margin-bottom: 15px;
}

.mini-stat:last-of-type {
  margin-bottom: 0;
}

.mini-stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #111318;
  font-size: 13px;
  font-weight: 560;
}

.mini-stat-top strong {
  font-size: 12px;
  font-weight: 650;
}

.bar {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(20, 24, 32, 0.08);
}

.bar span {
  position: relative;
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cp-red), var(--cp-yellow));
}

.bar span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  animation: cp-sweep 2.6s ease-in-out infinite;
}

.cp-hidden-storage-trigger,
#divstorage {
  display: none !important;
}

.cp-side-foot {
  padding: 18px !important;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, #16191f, #2a2220 58%, #46201d);
  box-shadow: 0 18px 42px rgba(17, 19, 24, 0.14);
}

.cp-side-foot strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.cp-side-foot span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 480;
}

@keyframes cp-rail {
  to {
    background-position: 200% 0;
  }
}

@keyframes cp-sweep {
  0% {
    transform: translateX(-100%);
  }

  45%,
  100% {
    transform: translateX(100%);
  }
}

.navbar-static-top {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
}

.border-bottom {
  border-bottom: 0 !important;
  margin-left: 0;
  margin-right: 0;
  padding: 24px 0 20px;
  background: transparent;
  backdrop-filter: none;
  position: relative;
  z-index: 1010;
}

.navbar-header {
  display: flex;
  align-items: center;
  gap: 16px;
  width: auto;
  flex: 0 1 540px;
}

.navbar-minimalize {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--cp-red), #ff6031) !important;
  box-shadow: 0 14px 28px rgba(238, 63, 54, 0.18);
}

.navbar-form-custom {
  width: min(460px, 100%);
  height: auto;
  margin: 0;
}

.navbar-form-custom .form-control,
#top-search {
  height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(232, 236, 242, 0.8);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 34px rgba(25, 30, 42, 0.04);
  color: var(--cp-ink);
}

.navbar-top-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.cp-lock-chip-row {
  display: none !important;
}

.navbar-top-links>li>a,
.navbar-top-links .welcome-message {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid rgba(232, 236, 242, 0.86);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 24px rgba(25, 30, 42, 0.035);
  color: #1d1f24 !important;
  font-weight: 560;
}

.navbar-top-links>li>a.count-info {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 15px;
  display: inline-grid;
  place-items: center;
  line-height: 1;
}

.navbar-top-links>li>a.count-info img {
  margin: 0 !important;
  display: block;
}

.navbar-top-links>li>a.count-info .cp-icon {
  margin: 0;
}

.cp-theme-toggle {
  position: relative;
}

.cp-theme-toggle .cp-theme-moon {
  display: none;
}

html[data-cp-mode="dark"] .cp-theme-toggle .cp-theme-sun {
  display: none;
}

html[data-cp-mode="dark"] .cp-theme-toggle .cp-theme-moon {
  display: inline-block;
}

.navbar-top-links>li>a.cp-role-chip {
  border: 0;
  background: linear-gradient(135deg, var(--cp-red), #ff4a2a) !important;
  color: #fff !important;
}

.navbar-top-links>li>a.cp-role-chip .label {
  padding: 0;
  background: transparent !important;
  box-shadow: none;
}

.navbar-default #side-menu.nav>li>a:hover,
.navbar-default #side-menu.nav>li>a:focus,
.navbar-default #side-menu.nav>li.mm-active:not(.cp-nav-dashboard)>a,
.navbar-default #side-menu.nav>li.active:not(.cp-nav-dashboard)>a {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

.cp-top-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-right: 12px;
  color: #148044;
  font-weight: 560;
}

.navbar-top-links .label,
.label-primary,
.label-success,
.label-warning,
.label-danger {
  border-radius: 999px;
  padding: 5px 9px;
  border: 0;
  background: linear-gradient(135deg, var(--cp-red), #ff4a2a) !important;
  color: #fff;
}

#unread_amount {
  position: absolute;
  top: -5px;
  right: -3px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  font-size: 10px;
  font-weight: 700;
}

.gray-bg,
.white-bg,
.ibox-content,
.ibox-title,
.ibox,
.panel,
.panel-body {
  background: transparent;
}

.dashboard-wrapper {
  margin-top: 5px !important;
}

.ibox,
.panel,
.ibox.float-e-margins {
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid var(--cp-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--cp-shadow);
}

.ibox-title,
.panel-heading {
  min-height: 54px;
  padding: 17px 22px 13px;
  border: 0;
  border-bottom: 1px solid var(--cp-line);
  background: #fff;
}

.ibox-title h5,
.panel-heading h3,
.panel-title {
  margin: 0;
  color: var(--cp-ink);
  font-size: 15px;
  font-weight: 620;
}

.ibox-title h5 i,
.panel-heading i,
.ibox-title h5 svg,
.panel-heading svg {
  color: var(--cp-red);
}

.ibox-content,
.panel-body {
  padding: 18px 22px;
  border: 0;
  background: #fff;
}

.dashboard-item {
  margin-bottom: 14px;
}

.dashboard-item a {
  min-height: 58px;
  display: flex !important;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border: 1px solid var(--cp-line);
  border-radius: 14px;
  color: #24262b;
  background: #fff;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.dashboard-item a:hover {
  color: var(--cp-red);
  border-color: rgba(238, 63, 54, 0.28);
  box-shadow: 0 12px 26px rgba(238, 63, 54, 0.1);
  transform: translateY(-1px);
  text-decoration: none;
}

.dashboard-item a i,
.dashboard-item a .lucide,
.dashboard-item a svg {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--cp-red);
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 22px !important;
  stroke-width: 1.55;
}

.dashboard-item a span {
  font-size: 13px;
  font-weight: 560;
}

.form-control,
.single-line,
select.form-control {
  min-height: 40px;
  border: 1px solid #e3e6eb;
  border-radius: 12px;
  box-shadow: none;
  color: var(--cp-ink);
}

.form-control:focus {
  border-color: var(--cp-yellow);
  box-shadow: 0 0 0 3px rgba(251, 177, 64, 0.18);
}

.btn {
  border-radius: 12px;
  font-weight: 560;
  border-width: 1px;
}

.btn-primary,
.btn-success {
  border-color: var(--cp-red) !important;
  background: linear-gradient(135deg, var(--cp-red), #ff4a2a) !important;
  color: #fff !important;
}

.btn-warning {
  border-color: var(--cp-yellow) !important;
  background: var(--cp-yellow) !important;
  color: #191919 !important;
}

.btn-white,
.btn-default {
  border-color: var(--cp-line) !important;
  background: #fff !important;
  color: #24262b !important;
}

.table,
table {
  color: #25272c;
}

.table>thead>tr>th,
table>thead>tr>th {
  border-bottom: 1px solid var(--cp-line);
  color: #494e58;
  font-size: 12px;
  font-weight: 620;
  text-transform: none;
}

.table>tbody>tr>td,
table>tbody>tr>td {
  border-top: 1px solid #f0f2f5;
  vertical-align: middle;
}

.list-group-item {
  border-color: #f0f2f5;
}

.progress,
.progress-mini {
  height: 7px;
  border-radius: 999px;
  background: #eef0f3;
  box-shadow: none;
}

.progress-bar {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cp-red), var(--cp-yellow));
}

.dropdown-menu {
  border: 1px solid var(--cp-line);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(20, 24, 40, 0.12);
}

.modal-content {
  border: 1px solid var(--cp-line);
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(20, 24, 40, 0.18);
}

.modal-header,
.modal-footer {
  border-color: var(--cp-line);
}

.footer {
  margin: 25px 0px 0px 0px !important;
  padding: 0px !important;
  color: #8a8f99;
  background: transparent;
  border: 0;
  text-align: center;
  position: relative;
}

.footer a {
  color: var(--cp-red);
  font-weight: 560;
}

.server-status h3 {
  margin: 0 0 14px;
  color: #202228;
  font-size: 13px;
  font-weight: 620;
}

.server-status small {
  color: #4f5663;
  font-size: 13px;
  line-height: 1.55;
}

#bandwidth-line-chart {
  min-height: 220px;
}

html[data-cp-mode="dark"] body,
body[data-cp-mode="dark"] {
  background: #111318 !important;
  color: var(--cp-ink);
}

html[data-cp-mode="dark"] #wrapper {
  background: #111318;
}

html[data-cp-mode="dark"] #page-wrapper {
  background:
    linear-gradient(120deg, rgba(238, 63, 54, 0.11), transparent 30%),
    linear-gradient(300deg, rgba(251, 177, 64, 0.08), transparent 34%),
    #111318 !important;
}

html[data-cp-mode="dark"] .navbar-static-side {
  background:
    linear-gradient(180deg, rgba(18, 21, 27, 0.94), rgba(18, 21, 27, 0.9)),
    radial-gradient(circle at 10% 90%, rgba(251, 177, 64, 0.12), transparent 30%);
  border-right-color: var(--cp-line);
  box-shadow: 12px 0 42px rgba(0, 0, 0, 0.18);
}

html[data-cp-mode="dark"] .nav-header {
  border-bottom-color: var(--cp-line);
}

html[data-cp-mode="dark"] #side-menu>li>a {
  color: #e8ecf2;
}

html[data-cp-mode="dark"] #side-menu>li>a:hover,
html[data-cp-mode="dark"] #side-menu>li>a:focus {
  color: #fff;
}

html[data-cp-mode="dark"] #side-menu .nav-second-level li a {
  color: #b9c0ce;
}

html[data-cp-mode="dark"] #side-menu .nav-second-level li a:hover {
  color: #fff;
  background: rgba(238, 63, 54, 0.14);
}

html[data-cp-mode="dark"] .cp-side-card {
  border-color: rgba(238, 63, 54, 0.28);
  background:
    linear-gradient(145deg, rgba(238, 63, 54, 0.16), rgba(251, 177, 64, 0.1)),
    rgba(24, 27, 34, 0.9);
}

html[data-cp-mode="dark"] .cp-side-card h3 {
  color: #ffcfbd;
}

html[data-cp-mode="dark"] .mini-stat-top {
  color: #f8fafc;
}

html[data-cp-mode="dark"] .bar,
html[data-cp-mode="dark"] .progress,
html[data-cp-mode="dark"] .progress-mini {
  background: rgba(255, 255, 255, 0.1);
}

html[data-cp-mode="dark"] .navbar-form-custom .form-control,
html[data-cp-mode="dark"] #top-search,
html[data-cp-mode="dark"] .form-control,
html[data-cp-mode="dark"] .single-line,
html[data-cp-mode="dark"] select.form-control {
  border-color: var(--cp-line);
  background: rgba(20, 23, 30, 0.78);
  color: #f8fafc;
}

html[data-cp-mode="dark"] #top-search::placeholder,
html[data-cp-mode="dark"] .form-control::placeholder {
  color: #838c9c;
}

html[data-cp-mode="dark"] .navbar-top-links>li>a,
html[data-cp-mode="dark"] .navbar-top-links .welcome-message {
  border-color: var(--cp-line);
  background: rgba(20, 23, 30, 0.78);
  color: #f8fafc !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

html[data-cp-mode="dark"] .navbar-top-links>li>a.cp-role-chip {
  background: linear-gradient(135deg, var(--cp-red), #ff4a2a) !important;
  color: #fff !important;
}

html[data-cp-mode="dark"] .cp-hero,
html[data-cp-mode="dark"] .cp-band-card,
html[data-cp-mode="dark"] .cp-panel,
html[data-cp-mode="dark"] .cp-launchpad,
html[data-cp-mode="dark"] .ibox,
html[data-cp-mode="dark"] .ibox-title,
html[data-cp-mode="dark"] .ibox-content,
html[data-cp-mode="dark"] .panel,
html[data-cp-mode="dark"] .panel-heading,
html[data-cp-mode="dark"] .panel-body {
  border-color: var(--cp-line) !important;
  background: var(--cp-panel) !important;
  color: var(--cp-ink) !important;
  box-shadow: var(--cp-shadow);
}

html[data-cp-mode="dark"] .cp-hero {
  background:
    linear-gradient(135deg, rgba(25, 28, 35, 0.94), rgba(25, 28, 35, 0.76)),
    radial-gradient(circle at 18% 0%, rgba(238, 63, 54, 0.2), transparent 30%) !important;
}

html[data-cp-mode="dark"] .cp-hero-title,
html[data-cp-mode="dark"] .cp-band-title,
html[data-cp-mode="dark"] .cp-band-number,
html[data-cp-mode="dark"] .cp-panel-head,
html[data-cp-mode="dark"] .cp-metric strong,
html[data-cp-mode="dark"] .cp-quick-tile strong,
html[data-cp-mode="dark"] .cp-tool,
html[data-cp-mode="dark"] .cp-server-grid b,
html[data-cp-mode="dark"] .ibox-title h5,
html[data-cp-mode="dark"] .panel-heading h3 {
  color: #f8fafc !important;
}

html[data-cp-mode="dark"] .cp-hero-sub,
html[data-cp-mode="dark"] .cp-metric span,
html[data-cp-mode="dark"] .cp-band-number span,
html[data-cp-mode="dark"] .cp-access-row .last-access-date,
html[data-cp-mode="dark"] .cp-server-grid span,
html[data-cp-mode="dark"] .cp-tool small,
html[data-cp-mode="dark"] .footer,
html[data-cp-mode="dark"] .server-status small {
  color: var(--cp-muted) !important;
}

html[data-cp-mode="dark"] .cp-metric,
html[data-cp-mode="dark"] .cp-band-meta div,
html[data-cp-mode="dark"] .cp-quick-tile,
html[data-cp-mode="dark"] .cp-tool,
html[data-cp-mode="dark"] .dashboard-item a,
html[data-cp-mode="dark"] .btn-white,
html[data-cp-mode="dark"] .btn-default {
  border-color: var(--cp-line) !important;
  background: rgba(17, 19, 24, 0.58) !important;
  color: #f8fafc !important;
}

html[data-cp-mode="dark"] .cp-access-row,
html[data-cp-mode="dark"] .table>tbody>tr>td,
html[data-cp-mode="dark"] table>tbody>tr>td,
html[data-cp-mode="dark"] .list-group-item {
  border-color: var(--cp-line) !important;
}

html[data-cp-mode="dark"] .table,
html[data-cp-mode="dark"] table,
html[data-cp-mode="dark"] .table>thead>tr>th,
html[data-cp-mode="dark"] table>thead>tr>th {
  color: #e8ecf2;
  border-color: var(--cp-line);
}

html[data-cp-mode="dark"] .dropdown-menu,
html[data-cp-mode="dark"] .modal-content {
  border-color: var(--cp-line);
  background: #191d24;
  color: #f8fafc;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
}

html[data-cp-mode="dark"] .dropdown-menu>li>a,
html[data-cp-mode="dark"] .dropdown-alerts li a {
  color: #f8fafc;
}

html[data-cp-mode="dark"] .modal-header,
html[data-cp-mode="dark"] .modal-footer {
  border-color: var(--cp-line);
}

.ct-series-a .ct-line,
.ct-series-a .ct-point,
.c3-line,
.c3-circle {
  stroke: var(--cp-red) !important;
}

.loginColumns,
.middle-box {
  max-width: 980px;
  padding-top: 9vh;
}

body.gray-bg .loginColumns,
body.gray-bg .middle-box,
.logged-message-wrapper {
  color: var(--cp-ink);
}

.loginColumns .ibox-content,
.middle-box .ibox-content,
#formlogin,
#twofa {
  border: 1px solid var(--cp-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--cp-shadow);
}

.loginColumns img,
.middle-box img,
.logged-message img {
  max-width: 320px;
  height: auto;
}

.loginColumns hr {
  border-color: var(--cp-line);
}

.text-success {
  color: var(--cp-red) !important;
}

body.cp-login-page {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(238, 63, 54, 0.12), transparent 28%),
    radial-gradient(circle at 88% 82%, rgba(251, 177, 64, 0.14), transparent 32%),
    linear-gradient(135deg, #fff 0%, #f8f9fb 58%, #fff 100%) !important;
}

.cp-login-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(20, 24, 32, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 24, 32, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(120deg, rgba(0, 0, 0, 0.45), transparent 62%);
}

.loginColumns.cp-login-shell {
  width: min(1180px, calc(100vw - 48px));
  max-width: none;
  min-height: calc(100vh - 82px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px 0 26px;
  position: relative;
  z-index: 1;
}

.cp-login-grid {
  display: flex;
  align-items: stretch;
  margin: 0;
  border: 1px solid rgba(232, 236, 242, 0.88);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 28px 80px rgba(20, 24, 40, 0.08);
  overflow: hidden;
  backdrop-filter: blur(18px);
}

.cp-login-story,
.cp-login-panel {
  min-height: 586px;
}

.cp-login-story {
  padding: 52px 56px 42px;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.78)),
    radial-gradient(circle at 8% 0%, rgba(238, 63, 54, 0.14), transparent 34%);
}

.cp-login-logo {
  padding: 0;
  text-align: left !important;
}

.cp-login-logo img,
.cp-login-logo a img {
  width: 300px !important;
  max-width: 100%;
  height: auto;
}

.cp-login-copy {
  margin-top: 42px;
  max-width: 520px;
}

.cp-login-pill,
.cp-login-step {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 6px 11px;
  border-radius: 999px;
  color: #9b302d;
  background: rgba(238, 63, 54, 0.08);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cp-login-copy h1 {
  margin: 18px 0 12px;
  color: #111318;
  font-size: 34px;
  line-height: 1.12;
  font-weight: 690;
}

.cp-login-copy p {
  margin: 0 0 12px;
  color: #646b78;
  font-size: 15px;
  line-height: 1.72;
}

.cp-login-signal {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.cp-login-signal div {
  min-height: 86px;
  padding: 16px;
  border: 1px solid rgba(232, 236, 242, 0.92);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
}

.cp-login-signal strong {
  display: block;
  color: #14171f;
  font-size: 15px;
  font-weight: 680;
}

.cp-login-signal span {
  display: block;
  margin-top: 7px;
  color: #737b89;
  font-size: 12px;
  line-height: 1.45;
}

.cp-login-panel {
  padding: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 88% 18%, rgba(251, 177, 64, 0.14), transparent 32%),
    rgba(248, 249, 251, 0.72);
}

.cp-login-card,
.loginColumns .cp-login-card,
#formlogin.cp-login-card,
#twofa.cp-login-card,
.middle-box .ibox-content {
  width: 100%;
  max-width: 450px;
  padding: 28px !important;
  border: 1px solid rgba(232, 236, 242, 0.95) !important;
  border-radius: 24px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 22px 58px rgba(20, 24, 40, 0.1) !important;
}

.cp-login-card-head {
  margin: 0 0 22px;
}

.cp-login-card-head h2 {
  margin: 13px 0 0;
  color: #111318;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 690;
  text-align: left;
}

.cp-login-card-head p,
.cp-twofa-card p {
  color: #68707d;
  line-height: 1.55;
}

.cp-field {
  margin-bottom: 15px;
}

.cp-field label,
.cp-field-label,
.cp-login-options label,
.cp-twofa-code label {
  display: block;
  margin: 0 0 7px;
  color: #363b45;
  font-size: 12px;
  font-weight: 650;
}

.cp-field-label {
  padding-top: 13px;
}

.cp-login-card .form-control,
.middle-box .form-control {
  min-height: 48px;
  border-radius: 15px;
  border-color: rgba(218, 224, 232, 0.95);
  background: rgba(255, 255, 255, 0.9);
  color: #151820;
  font-size: 14px;
}

.cp-login-card .form-control:focus,
.middle-box .form-control:focus {
  border-color: rgba(238, 63, 54, 0.42);
  box-shadow: 0 0 0 4px rgba(238, 63, 54, 0.1);
}

.cp-login-options {
  margin: 2px 0 18px;
}

.cp-login-options label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #535b68;
  cursor: pointer;
  font-weight: 520;
}

.cp-login-options input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--cp-red);
}

.cp-login-card .btn-primary,
.middle-box .btn-primary {
  min-height: 48px;
  border-radius: 15px;
  box-shadow: 0 14px 30px rgba(238, 63, 54, 0.18);
}

.cp-recover-link,
.middle-box .btn-white {
  min-height: 40px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 14px !important;
}

.cp-ssl-note {
  min-height: 36px;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(238, 63, 54, 0.06);
}

.cp-twofa-card {
  text-align: center;
}

.cp-twofa-card .row {
  margin-left: 0;
  margin-right: 0;
}

.cp-twofa-card .row>.col-lg-12 {
  padding-left: 0;
  padding-right: 0;
}

.cp-twofa-card .cp-login-card-head h2 {
  text-align: center;
}

.cp-twofa-card .cp-login-step {
  margin: 0 auto;
}

.cp-twofa-input {
  height: 64px !important;
  text-align: center !important;
  font-size: 28px !important;
  font-weight: 700;
  letter-spacing: 0.28em !important;
}

#btn-f2acode {
  width: 100%;
}

.cp-login-footer {
  margin: 18px 0 0;
  padding: 0 8px;
  color: #7a8190;
  font-size: 13px;
}

.cp-login-footer a {
  color: var(--cp-red);
  font-weight: 650;
}

.middle-box {
  width: min(480px, calc(100vw - 32px));
}

.middle-box.cp-recover-shell {
  max-width: none;
  padding-top: 7vh;
  position: relative;
  z-index: 1;
}

.cp-recover-logo {
  margin-bottom: 22px;
}

.cp-recover-logo img,
#lost-pass .text-center img {
  width: 280px !important;
  max-width: 100%;
  height: auto;
}

.cp-recover-card {
  margin: 0 auto;
}

.cp-recover-card>p {
  margin: -8px 0 20px;
  color: #68707d;
  font-size: 14px;
  line-height: 1.65;
}

.cp-recover-card .row,
.cp-recover-card .row>.col-lg-12 {
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

.recover-field.error {
  border-color: rgba(238, 63, 54, 0.65) !important;
  box-shadow: 0 0 0 4px rgba(238, 63, 54, 0.12) !important;
}

.logged-message-wrapper {
  width: min(920px, calc(100vw - 40px));
}

.logged-message-wrapper .logged-message {
  align-items: center;
  padding: 28px;
  border: 1px solid rgba(232, 236, 242, 0.95);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 58px rgba(20, 24, 40, 0.1);
}

.logged-message-wrapper img {
  width: 280px !important;
  max-width: 100%;
}

.logged-message-wrapper .cp-state-logo {
  text-align: center;
}

.logged-message-wrapper .cp-state-message {
  border-left: 1px solid var(--cp-line);
}

.logged-message-alert {
  min-height: 260px;
  padding: 16px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.logged-message-alert h2 {
  margin: 18px 0 10px;
  color: var(--cp-red) !important;
}

.logged-message-alert h5,
.logged-message-alert p {
  color: #68707d;
  line-height: 1.55;
}

.logged-message-alert .cp-auth-mail {
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
}

.cp-state-copy {
  max-width: 380px;
  margin: 0 auto 18px;
  color: #68707d;
  font-size: 15px !important;
  line-height: 1.65;
}

.cp-state-link {
  min-height: 42px;
  padding: 11px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(232, 236, 242, 0.95);
  border-radius: 14px;
  background: #fff;
  color: #171a22;
  font-size: 14px;
  font-weight: 650;
  box-shadow: 0 12px 28px rgba(20, 24, 40, 0.07);
}

.cp-state-link:hover,
.cp-state-link:focus {
  color: var(--cp-red);
  border-color: rgba(238, 63, 54, 0.28);
}

@media (max-width: 991px) {
  .loginColumns.cp-login-shell {
    width: min(720px, calc(100vw - 28px));
    padding-top: 24px;
  }

  .cp-login-grid {
    display: block;
  }

  .cp-login-story,
  .cp-login-panel {
    min-height: auto;
  }

  .cp-login-story,
  .cp-login-panel {
    padding: 32px;
  }

  .cp-login-copy {
    margin-top: 28px;
  }

  .cp-login-signal {
    margin-top: 26px;
  }
}

@media (max-width: 640px) {
  .loginColumns.cp-login-shell {
    width: calc(100vw - 18px);
  }

  .cp-login-story,
  .cp-login-panel {
    padding: 22px;
  }

  .cp-login-copy h1 {
    font-size: 28px;
  }

  .cp-login-signal {
    grid-template-columns: 1fr;
  }

  .cp-login-card,
  .loginColumns .cp-login-card,
  #formlogin.cp-login-card,
  #twofa.cp-login-card,
  .middle-box .ibox-content {
    padding: 22px !important;
  }

  .logged-message-wrapper .logged-message {
    padding: 22px;
  }

  .logged-message-wrapper .cp-state-message {
    margin-top: 22px;
    padding-top: 22px;
    border-left: 0;
    border-top: 1px solid var(--cp-line);
  }
}

.lucide {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  vertical-align: -3px;
}

i.lucide-ready {
  font-size: 0 !important;
  line-height: 0 !important;
}

@media (max-width: 991px) {
  .navbar-static-side {
    width: 82px;
  }

  #page-wrapper {
    margin-left: 82px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .border-bottom {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .navbar-header {
    width: 100%;
  }

  .navbar-top-links {
    gap: 4px;
  }
}

@media (max-width: 767px) {
  .navbar-static-side {
    position: static;
    width: 100%;
    min-height: auto;
    border-right: 0;
  }

  #page-wrapper {
    margin-left: 0;
  }

  .navbar-static-top {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 12px 0;
  }

  .navbar-header {
    gap: 10px;
  }

  .navbar-top-links {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .ibox-title,
  .ibox-content {
    padding-left: 14px;
    padding-right: 14px;
  }
}
